package com.bluesky.webflux.oa;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@Slf4j
@SpringBootApplication
public class OAMain {
    public static void main(String[] args) {
        SpringApplication s = new SpringApplication(OAMain.class);
        ConfigurableApplicationContext context = s.run(args);
        log.info("OAapplication port:{}",context.getEnvironment().getProperty("server.port"));


    }
}